<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>

<s:set name="adminLoginCheck" value="%{#session.adminLogin}" />
	<s:if test="%{#adminLoginCheck!=null}">
<div id="container">
	<table style="width: 100%">



		<tr style="background: #DDD">
			<td>Name</td>
			<td>Email</td>
			<td>Phone_number</td>
			<td>Edit</td>
			
		</tr>


		<s:iterator value="customers">
			<tr>
				<td><s:property value="name" /></td>

				<td><s:property value="email" /></td>
				<td><s:property value="phone_number" /></td>
				<td><s:form action="adminCustomerEdit" namespace="/">
						<s:hidden name="id" value="%{id}" />
						<s:submit name="editCustomer" value="Edit">
						</s:submit>
					</s:form></td>

			</tr>
		</s:iterator>

	</table>


	<%-- <div>
			<!-- <s:url action="toDetail" var="urlTag">
				<s:param name="id">
					<s:property value="id" />
				</s:param>
			</s:url> -->
					<div class="clothing">
						<a href="<s:property value="#urlTag" />"><img
							src="./img/w_<s:property value="id"/>.jpg" /></a>
					</div>




			<!-- <a href="<s:url action="productList"></s:url>">
							<img  src="./img/w_<s:property value="print_number"/>.jpg" /></a> -->
	
			<!-- <img  src="./img/w_<s:property/>.jpg" /> -->

		</div> --%>


</div>
</s:if>